Skip to content

Commit

Permalink
Debug statement updated
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ-RhinoPartners committed Sep 5, 2023
1 parent 22e60c6 commit cd3682f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python_scripts/publications.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ def write_publication(data):

if doi_id != "#":
filename = "../publications/v1/{0}/index.json".format(doi_id)
# print(filename)
os.makedirs(os.path.dirname(filename), exist_ok=True)
with open(filename, "w") as f:
f.write(json.dumps(data, indent=4))

# Debug:
print(data["title"])
print(" > ", data["venue"], ",", data["year"], "\n")
print("{}\n > {}, {}\n".format(data["title"], data["venue"], data["year"]))


# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -156,7 +154,6 @@ def write_publication(data):
}
)

#
author_cards = []
if len(authors) != len(author_info):
for aIdx in range(len(authors)):
Expand Down

0 comments on commit cd3682f

Please sign in to comment.