Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions examples/0_Browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
else:
myAPI = BaseSpaceAPI(profile='DEFAULT')


# First, let's grab the genome with id=4
myGenome = myAPI.getGenomeById('4')
print "\nThe Genome is " + str(myGenome)
Expand All @@ -68,7 +67,7 @@
print "\nThe current user is \n" + str(user)

# Now list the projects for this user
myProjects = myAPI.getProjectByUser('current')
myProjects = myAPI.getProjectByUser()
print "\nThe projects for this user are \n" + str(myProjects)

# We can also achieve this by making a call using the 'user instance'
Expand All @@ -81,4 +80,4 @@

# In the same manner we can get a list of accessible user runs
runs = user.getRuns(myAPI)
print "\nRuns retrieved from user instance \n" + str(runs)
print "\nRuns retrieved from user instance \n" + str(runs)