Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
conditional-random-fields
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Carlos-Francisco Méndez-Cruz
2018-03-07 23:45:12 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c7e9d81b9a7ca22082d9fec55958d4fa0ff9a609
c7e9d81b
1 parent
bbeab153
Prepare abstracts
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
prepare-abstracts.py
prepare-abstracts.py
View file @
c7e9d81
...
...
@@ -58,7 +58,7 @@ if __name__ == "__main__":
t0
=
time
()
hashGenes
=
{}
rePmid
=
re
.
compile
(
r'([\d]+)\|
a
\|'
)
rePmid
=
re
.
compile
(
r'([\d]+)\|
t
\|'
)
reGene
=
re
.
compile
(
r'<g>([^<]+)</g>'
)
reTags
=
re
.
compile
(
r'(<g>|</g>|<d>|</d>|<i>|</i>)'
)
with
open
(
os
.
path
.
join
(
options
.
inputPath
,
options
.
inputFile
),
"r"
,
encoding
=
"utf-8"
,
errors
=
"replace"
)
as
iFile
:
...
...
Please
register
or
login
to post a comment