Skip to content

Script does not close/end on his own #13

Description

@mlouarn

Hi,
When running gemmapy from script+console using python3 the script does not close once running its course.
For example the following does run and gives me the result I expect, the 'done' get printed but I have to manually close the script in the console after. I tried adding a sys.exit() and exit() at the end but it didn't change anything.

import gemmapy
api_instance = gemmapy.GemmaPy()
api_response_h = api_instance.search_datasets(['NR5A1'], taxon="human")
for d in api_response_h.data:
    print(d.accession)
print('done')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions