Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pampa Valentin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hottlet Valentin
Pampa Valentin
Commits
1ccdf00f
Commit
1ccdf00f
authored
3 months ago
by
Hottlet Valentin
Browse files
Options
Downloads
Patches
Plain Diff
correction on allpeptides (l:232), no print if --web
parent
1aa738be
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pampa_craft.py
+13
-11
13 additions, 11 deletions
pampa_craft.py
with
13 additions
and
11 deletions
pampa_craft.py
+
13
−
11
View file @
1ccdf00f
...
@@ -229,7 +229,7 @@ def main():
...
@@ -229,7 +229,7 @@ def main():
if
allpeptides
:
if
allpeptides
:
set_of_sequences
=
fa
.
build_set_of_sequences
(
fasta
,
directory
,
s
e
t_of_constraints
,
None
)
set_of_sequences
=
fa
.
build_set_of_sequences
(
fasta
,
directory
,
li
st_of_constraints
,
None
)
if
len
(
set_of_sequences
)
==
0
:
if
len
(
set_of_sequences
)
==
0
:
message
.
escape
(
"
File
"
+
fasta
+
"
: no valid sequences found.
\n
"
)
message
.
escape
(
"
File
"
+
fasta
+
"
: no valid sequences found.
\n
"
)
data
=
config
.
parse_config_file
()
data
=
config
.
parse_config_file
()
...
@@ -288,6 +288,7 @@ def main():
...
@@ -288,6 +288,7 @@ def main():
create_report_footer
(
output_dir
,
output
,
report
)
create_report_footer
(
output_dir
,
output
,
report
)
if
not
args
.
web
:
print
(
""
)
print
(
""
)
print
(
"
Job completed.
"
)
print
(
"
Job completed.
"
)
print
(
"
All results are available in the following files.
"
)
print
(
"
All results are available in the following files.
"
)
...
@@ -298,6 +299,7 @@ def main():
...
@@ -298,6 +299,7 @@ def main():
# TO DO: add the new peptide table, if necessary
# TO DO: add the new peptide table, if necessary
if
os
.
path
.
getsize
(
os
.
path
.
join
(
output_dir
,
"
warning.log
"
))
>
0
:
if
os
.
path
.
getsize
(
os
.
path
.
join
(
output_dir
,
"
warning.log
"
))
>
0
:
if
not
args
.
web
:
print
(
"
Warnings were raised during the execution.
"
)
print
(
"
Warnings were raised during the execution.
"
)
print
(
"
Please refer to the warning.log file for detail.
"
)
print
(
"
Please refer to the warning.log file for detail.
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment