Skip to content

Commit

Permalink
modify software.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazztok45 committed Feb 9, 2024
1 parent 75d00a4 commit aeb3857
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/zbmath_rest2oai/fake_dict_sw.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def fake_dict_sw():
with open('software.csv','w') as f:
return f.write(','.join(map(str,list(range(1, 10)))))
return f.write("\n".join(map(str,list(range(2, 10)))))

if __name__ == '__main__':
fake_dict_sw()
2 changes: 1 addition & 1 deletion src/zbmath_rest2oai/run_get_all_de_documents.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from zbmath_rest2oai.get_all_de import get_all_de

CSV_URL = 'https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/releases/download/test/all_de_240115.csv'
CSV_URL = 'https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/blob/75d00a4dcd97684ae03dce7059c5c3d260bdf47c/src/zbmath_rest2oai/software.csv'

if __name__ == '__main__':
get_all_de('https://api.zbmath.org/v1/document/',CSV_URL)
2 changes: 1 addition & 1 deletion src/zbmath_rest2oai/run_get_all_de_software.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

CSV_URL = 'https://raw.githubusercontent.com/MaRDI4NFDI/python-zbMathRest2Oai/main/src/zbmath_rest2oai/software.csv'
if __name__ == '__main__':
get_all_de('https://api.zbmath.org/v1/software/_search?search_string=si%3A')
get_all_de('https://api.zbmath.org/v1/software/_search?search_string=si%3A',CSV_URL)
9 changes: 8 additions & 1 deletion src/zbmath_rest2oai/software.csv
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
1,2,3,4,5,6,7,8,9
2
3
4
5
6
7
8
9

0 comments on commit aeb3857

Please sign in to comment.