Closed GemmaTuron closed 3 months ago
@jmassardo
Can you help here? it seems the model name is not being well recognised at fetching time, it should only get the eos id but gets some other things?
Run MODEL_ID=$(echo '{"model":{"title":"Model","content":["Anti-schistosomiasis activity - eos2l0q"],"text":"Anti-schistosomiasis activity - eos2l0q"},"molecules":{"title":"Molecules","content":["O=C1N2C(N(C)C3=C1N=CN3C4OC(CO)C(O)C4O)=NC(C)=C2\r\nO=CC1=C(C2=C(C)C=C1O)OC3=C(O)C4=C(C(C)=C3OC2=O)COC4=O"],"text":"O=C1N2C(N(C)C3=C1N=CN3C4OC(CO)C(O)C4O)=NC(C)=C2\r\nO=CC1=C(C2=C(C)C=C1O)OC3=C(O)C4=C(C(C)=C3OC2=O)COC4=O"}}' | jq -r '.model.text' | cut -d'-' -f2-)
Usage: ersilia fetch [OPTIONS] MODEL
Try 'ersilia fetch --help' for help.
Error: Got unexpected extra arguments (activity - eos2l0q)
There's two dashes in that title and the workflow only understands one.
Here's the line of code that's handling that bit. Let me see of I can figure a better way to do the splitting.
I thought this might be the case! Do you have an easy fix @jmassardo? Many thanks for the swift response!
Greetings! This is a friendly reminder that we only keep results for 30 days. If you have not downloaded your results, please do so within the next 5 days.
This issue has reached the end of its lifecycle and is being closed and the associated data removed. Please feel free to submit a new issue if you need updated data.
Model
Anti-schistosomiasis activity - eos2l0q
Molecules
O=C1N2C(N(C)C3=C1N=CN3C4OC(CO)C(O)C4O)=NC(C)=C2 O=CC1=C(C2=C(C)C=C1O)OC3=C(O)C4=C(C(C)=C3OC2=O)COC4=O