Skip to content

Commit

Permalink
pypi package did not index: try again; moved json dump to seperate dir
Browse files Browse the repository at this point in the history
  • Loading branch information
linxOD committed Jun 27, 2022
1 parent 67046e1 commit 7979f25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion freud_api_crawler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = """Peter Andorfer"""
__email__ = '[email protected]'
__version__ = '1.9.7'
__version__ = '1.9.8'
4 changes: 2 additions & 2 deletions freud_api_crawler/freud_api_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def get_man_json_dump(self, lmt=True, dmp=False):
page_json = self.get_page(x['id'])
pp = self.process_page(page_json)
json_dump["pages"].append(pp)
os.makedirs(os.path.join(self.save_dir, self.werk_signatur), exist_ok=True)
os.makedirs(os.path.join(self.save_dir, self.werk_signatur, 'data'), exist_ok=True)
with open(self.save_path_json, 'w', encoding='utf8') as f:
json.dump(json_dump, f)
else:
Expand Down Expand Up @@ -722,7 +722,7 @@ def __init__(
self.save_dir, self.werk_signatur, self.file_name
)
self.save_path_json = os.path.join(
self.save_dir, self.werk_signatur, self.file_name_json
self.save_dir, self.werk_signatur, "data", self.file_name_json
)


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/acdh-oeaw/freud_api_crawler',
version='1.9.7',
version='1.9.8',
zip_safe=False,
)

0 comments on commit 7979f25

Please sign in to comment.