Skip to content

Commit

Permalink
Quick log test
Browse files Browse the repository at this point in the history
Quick log test
  • Loading branch information
ericdrosas87 committed Jul 3, 2024
1 parent fceebca commit 27d2542
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
]
description = "The companion package to the Rubin citizen science notebooks."

version = "0.6.4"
version = "0.6.5"
readme = "README.md"
dependencies = [
"panoptes_client",
Expand Down
6 changes: 4 additions & 2 deletions src/rubin/citsci/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ 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 @@ -119,9 +122,8 @@ def __log_slug_names(self):
print(p["slug"])
print("\n*==========================*\n")

slug_name = input("Which project would you like to send data to (copy & paste the slug name here)?")

if has_projects == True:
slug_name = input("Which project would you like to send data to (copy & paste the slug name here)?")
if slug_name in slugnames:
self.project = Project.find(slug=slug_name)
self.project_id = self.project.id
Expand Down

0 comments on commit 27d2542

Please sign in to comment.