Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
automatic-extraction-growth-conditions
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Carlos-Francisco Méndez-Cruz
2018-10-12 12:34:03 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
16141b11e62af753c226d9777bc4e5e76a68b549
16141b11
1 parent
7533c901
Transform soft file in XML file
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
scripts/extract-manually-tagged-gcs.py
scripts/extract-manually-tagged-gcs.py
View file @
16141b1
...
...
@@ -96,7 +96,7 @@ if __name__ == "__main__":
print
(
"hashGcs[serie][sample][tag]: {}"
.
format
(
hashGcs
[
serie
][
sample
][
tag
]))
else
:
hashGcs
[
serie
][
sample
][
tag
]
=
[
content
]
print
(
"New tag: {} and content: {}"
.
format
(
tag
,
content
.
encode
(
encoding
=
'utf-8'
,
errors
=
'replace'
)))
#
print("New tag: {} and content: {}".format(tag, content.encode(encoding='utf-8', errors='replace')))
# print(hashGcs)
tags
=
[
"Technique"
,
"Orgn"
,
"Strain"
,
"Substrain"
,
"Gversion"
,
"Gtype"
,
"Phase"
,
"Phase"
,
"Air"
,
"Med"
,
"Temp"
,
"Supp"
]
#with open(os.path.join(options.outputPath, f.replace(".xml", ".report.csv")), "w", encoding="utf-8") as oFile:
...
...
Please
register
or
login
to post a comment