Skip to content

Commit

Permalink
comment; change middle product to invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
lushl9301 committed Jun 9, 2015
1 parent 26fe4cb commit d05dae8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions nextStep.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# generate
# .new_pubmed_result.txt
# .new_raw_data.json
# for next step

import json

pmidList = "".join(open("[3]pmidList.txt", 'r').readlines()).split('\n')
Expand All @@ -11,7 +16,7 @@
length = len(urlOnlyList)
try:
with open("pubmed_result.txt", "r") as myFormat:
outputFile = open("new_pubmed_result.txt", "w")
outputFile = open(".new_pubmed_result.txt", "w")
while index < length:
content = myFormat.readline()
if content == "":
Expand All @@ -27,7 +32,7 @@
except:
pass
with open("raw_data.json", "r") as myFormat:
outputFile = open("new_raw_data.json", "w")
outputFile = open(".new_raw_data.json", "w")
while index < length:
jsonString = myFormat.readline()
if jsonString == "":
Expand Down

0 comments on commit d05dae8

Please sign in to comment.