Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PRESCOTT
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mustafa Tekpinar
PRESCOTT
Commits
a17f0f90
Commit
a17f0f90
authored
Jun 07, 2023
by
Mustafa Tekpinar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed $ESGEMME_PATH dependency for default.conf.
parent
16b622fa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
default.conf
esgemme/default.conf
+0
-0
esgemme.py
esgemme/esgemme.py
+10
-7
setup.py
setup.py
+3
-1
No files found.
default.conf
→
esgemme/
default.conf
View file @
a17f0f90
File moved
esgemme/esgemme.py
View file @
a17f0f90
...
@@ -27,8 +27,8 @@ import biotite.structure.io as strucio
...
@@ -27,8 +27,8 @@ import biotite.structure.io as strucio
import
biotite.application.dssp
as
dssp
import
biotite.application.dssp
as
dssp
import
biotite.structure.io.pdb
as
pdb
import
biotite.structure.io.pdb
as
pdb
#from gemmeAnal import *
import
importlib.resources
from
importlib.resources
import
files
,
as_file
import
pandas
as
pd
import
pandas
as
pd
def
selectMaxFastaSequences
(
inputMSAfile
,
outputMSAfile
,
maxNumSeqs
=
40001
):
def
selectMaxFastaSequences
(
inputMSAfile
,
outputMSAfile
,
maxNumSeqs
=
40001
):
...
@@ -203,11 +203,14 @@ def launchJET(prot, retMet, bFile, fFile, pdbfile, chains, n, N, nl):
...
@@ -203,11 +203,14 @@ def launchJET(prot, retMet, bFile, fFile, pdbfile, chains, n, N, nl):
chainID
=
chains
[
0
]
chainID
=
chains
[
0
]
#TODO: Remove Bash dependency here. Make the copying process in Python
# esgemme_path = os.path.expandvars ('$ESGEMME_PATH')
#subprocess.call("cp $ESGEMME_PATH/default.conf .",shell=True)
# shutil.copy2(os.path.join(esgemme_path, "default.conf"), os.getcwd())
esgemme_path
=
os
.
path
.
expandvars
(
'$ESGEMME_PATH'
)
# esgemme_default_conf_path = importlib.resources.path('esgemme', 'default.conf')
# print(esgemme_default_conf_path)
shutil
.
copy2
(
os
.
path
.
join
(
esgemme_path
,
"default.conf"
),
os
.
getcwd
())
source
=
files
(
'esgemme'
)
.
joinpath
(
'default.conf'
)
with
as_file
(
source
)
as
esgemme_default_conf_path
:
#third_party_api_requiring_file_system_path(eml)
shutil
.
copy2
(
esgemme_default_conf_path
,
os
.
getcwd
())
if
retMet
==
"input"
:
if
retMet
==
"input"
:
...
...
setup.py
View file @
a17f0f90
...
@@ -63,5 +63,7 @@ setup(name='esgemme',
...
@@ -63,5 +63,7 @@ setup(name='esgemme',
'console_scripts'
:
[
'console_scripts'
:
[
'esgemme=esgemme.esgemme:main'
'esgemme=esgemme.esgemme:main'
]
]
}
},
include_package_data
=
True
,
package_data
=
{
'esgemme'
:[
'default.conf'
]},
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment