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:33:27 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7533c901c1a8394007fd22c0832982477e5627d4
7533c901
1 parent
37fdbca4
Transform soft file in XML file
Show 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 @
7533c90
...
...
@@ -85,7 +85,7 @@ if __name__ == "__main__":
content
=
content
.
replace
(
">"
,
">"
)
content
=
content
.
replace
(
"""
,
"
\"
"
)
content
=
content
.
replace
(
"'"
,
"
\'
"
)
print
(
"
\n
Serie: {}
\t
Sample: {}
\t
Tag: {}
\t
Content: {}"
.
format
(
serie
,
sample
,
tag
,
content
.
encode
(
encoding
=
'utf-8'
,
errors
=
'replace'
)))
#
print("\nSerie: {}\tSample: {}\tTag: {}\tContent: {}".format(serie, sample, tag, content.encode(encoding='utf-8', errors='replace')))
if
tag
in
hashGcs
[
serie
][
sample
]:
if
content
in
hashGcs
[
serie
][
sample
][
tag
]:
print
(
"Duplicated content: {}"
.
format
(
content
.
encode
(
encoding
=
'utf-8'
,
errors
=
'replace'
)))
...
...
Please
register
or
login
to post a comment