Skip to content

Commit

Permalink
Add sample sheet on Project construction. Fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Jan 23, 2017
1 parent 125fb01 commit acf51e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions looper/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def __init__(self, config_file, subproject=None, dry=False, permissive=True, fil
# samples
self.samples = list()

self.add_sample_sheet()

def __repr__(self):
if hasattr(self, "name"):
name = self.name
Expand Down
2 changes: 1 addition & 1 deletion test_looper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class LooperTest(unittest.TestCase):
def setUp(self):
p = Project(os.path.expandvars("tests/test_config.yaml"))
p.add_sample_sheet()
#p.add_sample_sheet()
self.p = p

pi = PipelineInterface(os.path.expandvars("tests/pipelines/config/pipeline_interface.yaml"))
Expand Down

0 comments on commit acf51e8

Please sign in to comment.