Skip to content
Snippets Groups Projects
Commit fa461ab8 authored by Swen Vermeul's avatar Swen Vermeul
Browse files

fixed create sample bug

parent 7701db84
No related branches found
No related tags found
No related merge requests found
## Changes with pybis-1.18.6
- fixed create samples bug
## Changes with pybis-1.18.5
- fixed deref bug for container
......
......@@ -37,12 +37,8 @@ class Sample(
if 'experiment' in kwargs:
try:
experiment = getattr(self, 'experiment')
project = None
if not 'project' in kwargs:
project = experiment.project
setattr(self.a, 'project', experiment.project)
if not 'space' in kwargs:
project = project or experiment.project
project = experiment.project
setattr(self.a, 'space', project.space)
except Exception:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment