Workflomics / pubmetric

Library for citation network based quality control of autogenerated workflows.
https://workflomics.readthedocs.io/en/latest/developer-guide/pubmetric.html
Apache License 2.0
1 stars 1 forks source link

Rename the output folder to have a descriptive name (that is used as a constant) #25

Closed Ambivalentalfa closed 2 months ago

Ambivalentalfa commented 2 months ago
          the file should probably have a descriptive name (that is used as a constant) and be locally stored

_Originally posted by @vedran-kasalica in https://github.com/Workflomics/workflomics-QCmetric/pull/22#discussion_r1716894502_

Ambivalentalfa commented 2 months ago

The graph generation in the API is run with a input parameter where I specify the name. I will close this as I dont think it is necessary since there is this functionality, and the timestamp version is quite nice if you are generating a lot of graphs

temporary_path = "new_cocitation_graph/"

await pubmetric.network.create_network(topic_id = graph_request.topic_id,
                                       tool_selection = graph_request.tool_selection,
                                       test_size = graph_request.test_size,
                                       inpath = graph_request.inpath,
                                       outpath = temporary_path)`