You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that an error occurs when providing an element_set that includes two species for which one corresponds to the captial letter in the other, e.g. "Nb,N" or "Os,O":
wget "http://oqmd.org/oqmdapi/formationenergy?fields=name,entry_id&filter=element_set=Os,O"
--2022-01-02 14:15:14-- http://oqmd.org/oqmdapi/formationenergy?fields=name,entry_id&filter=element_set=Os,O
Resolving oqmd.org (oqmd.org)... 165.124.29.200
Connecting to oqmd.org (oqmd.org)|165.124.29.200|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2022-01-02 14:15:16 ERROR 400: Bad Request.
The underlying reason for this problem is the way that the element_set_conversion function handles the corresponding regular expressions. Specifically, it gives the following output:
Hi
I have noticed that an error occurs when providing an element_set that includes two species for which one corresponds to the captial letter in the other, e.g. "Nb,N" or "Os,O":
The underlying reason for this problem is the way that the
element_set_conversion
function handles the corresponding regular expressions. Specifically, it gives the following output:This issue can be solved by rewriting the
element_set_conversion
function as follows:With this definition one obtains the expected results:
The text was updated successfully, but these errors were encountered: