Skip to content

Commit

Permalink
Moved print for manifest_path to manifest func
Browse files Browse the repository at this point in the history
Moved print for manifest_path to manifest function
  • Loading branch information
ericdrosas87 committed Jul 3, 2024
1 parent 342ae1d commit 1005c8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rubin/citsci/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ def project_sanity_check(self):
print("No project has been selected! Either re-run the login cell to select the project you would like to send data to or run the cell that create a project from the Rubin template!")
return False
else:
print("The project is NOT null!")
print(str(self.project))
print(str(self.project_id))
return True

def create_new_project_from_template(self, project_id=21302):
Expand Down Expand Up @@ -211,7 +208,10 @@ def write_manifest_file(self, manifest, batch_dir):
for cutout in manifest:
writer.writerow(cutout)

return f"{batch_dir}{manifest_filename}"
manifest_path = f"{batch_dir}{manifest_filename}"
print(f"The manifest CSV file can be found at the following relative path: {manifest_path}")

return manifest_path

def clean_up_unused_subject_set(self):
"""
Expand Down

0 comments on commit 1005c8f

Please sign in to comment.