Skip to content

Commit

Permalink
Update BioModelsCache.py
Browse files Browse the repository at this point in the history
Update test model to retrieve
  • Loading branch information
bartjuw authored May 8, 2024
1 parent d7a57dc commit bf3345a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BioModelsCache.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ def get_model(self, model_id):

def main():
cache = BioModelsCache()
cache.cache_biomodels() # Update/build BioModelsCache
#cache.cache_biomodels() # Update/build BioModelsCache
print("Test cache.searchmodels()...")
cache.search_models("MODEL1903260003") # Check search()
cache.search_models("BIOMD0000000002") # Check search()
print("Test cache.get_model()......")
cache.get_model("MODEL1901090001") # Check get_model()
cache.get_model("BIOMD0000000003") # Check get_model()

if __name__ == '__main__':
main()

0 comments on commit bf3345a

Please sign in to comment.