Closed mustafacc closed 1 year ago
It seems like the url parsing of refractive index might be out of date? https://github.com/jtambasco/opticalmaterialspy/blob/5b0b4132bdc5b2cb061491507f3ee6a19a3eec71/opticalmaterialspy/material.py#L82 example: import opticalmaterialspy as m si = m.RefractiveIndexWeb('https://refractiveindex.info/?shelf=main&book=Si&page=Li-293K') returns http error 404 from urllib after parsing it
import opticalmaterialspy as m si = m.RefractiveIndexWeb('https://refractiveindex.info/?shelf=main&book=Si&page=Li-293K')
Either way, the adjusted format seems to work on my end csv_url = 'https://refractiveindex.info/data_csv.php?datafile=database/data-nk/%s/%s/%s.yml' \
csv_url = 'https://refractiveindex.info/data_csv.php?datafile=database/data-nk/%s/%s/%s.yml' \
It seems like the url parsing of refractive index might be out of date? https://github.com/jtambasco/opticalmaterialspy/blob/5b0b4132bdc5b2cb061491507f3ee6a19a3eec71/opticalmaterialspy/material.py#L82 example:
import opticalmaterialspy as m si = m.RefractiveIndexWeb('https://refractiveindex.info/?shelf=main&book=Si&page=Li-293K')
returns http error 404 from urllib after parsing itEither way, the adjusted format seems to work on my end
csv_url = 'https://refractiveindex.info/data_csv.php?datafile=database/data-nk/%s/%s/%s.yml' \