Skip to content
Snippets Groups Projects
Commit 1ccdf00f authored by Hottlet Valentin's avatar Hottlet Valentin
Browse files

correction on allpeptides (l:232), no print if --web

parent 1aa738be
No related branches found
No related tags found
No related merge requests found
...@@ -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, set_of_constraints, None) set_of_sequences = fa.build_set_of_sequences(fasta, directory, list_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.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment