Skip to content

Commit

Permalink
Added parenthesis to func call for sanity test
Browse files Browse the repository at this point in the history
Added parenthesis to func call for sanity test
  • Loading branch information
ericdrosas87 committed Jul 3, 2024
1 parent 27d2542 commit 342ae1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rubin/citsci/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def write_manifest_file(self, manifest, batch_dir):
Returns the relative path to the manifest.csv
"""

if self.project_sanity_check is False:
if self.project_sanity_check() is False:
print("Please create or specify a Zooniverse project before attempting to write a manifest file.")
return
manifest_filename = 'manifest.csv'
Expand Down Expand Up @@ -357,7 +357,7 @@ def send_image_data(self, subject_set_name, zip_path, **options):
set is available.
"""

if self.project_sanity_check is False:
if self.project_sanity_check() is False:
print("Please create or specify a Zooniverse project before attempting to send image data!")
return
print("Send the data to Zooniverse")
Expand Down Expand Up @@ -422,7 +422,7 @@ def zip_image_cutouts(self, batch_dir):
to the Zooniverse, and returns the path to the zip file.
"""

if self.project_sanity_check is False:
if self.project_sanity_check() is False:
print("WARNING: You haven't specified a project yet, please ensure you have specified a project before proceeding.")
self.guid = str(uuid.uuid4())
shutil.make_archive(f"./{self.guid}", 'zip', batch_dir)
Expand Down

0 comments on commit 342ae1d

Please sign in to comment.