The query as delivered by sparqls.getStations() did not always set firstName, lastName of the PI, and the stationTheme was always None due to a bug in sparql. (Also, prepared the function so it can filter on theme on the client side).
Removed the query of sparqls.stations_with_pi() which will now use sparqls.getStations() instead.
Changes in the icoscp.station module:
Added the new parameter stations_df to the function station.get() which will lower the number of sparql calls from
"one large call" + "many small calls" to just "one large call"
Changes in the
icoscp.sparql
module:sparqls.getStations()
did not always setfirstName, lastName
of the PI, and thestationTheme
was always None due to a bug insparql
. (Also, prepared the function so it can filter on theme on the client side).sparqls.stations_with_pi()
which will now usesparqls.getStations()
instead.Changes in the
icoscp.station
module:stations_df
to the functionstation.get()
which will lower the number of sparql calls from "one large call" + "many small calls" to just "one large call"