Skip to content

Commit a35adcf

Browse files
committed
Adjusting help strings
1 parent 2f9e264 commit a35adcf

File tree

1 file changed

+8
-27
lines changed

1 file changed

+8
-27
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/align/ce/AbstractUserArgumentProcessor.java

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,6 @@ private void runPairwise() throws ConfigurationException{
297297
}
298298
}
299299

300-
301-
302300
String name2 = params.getPdb2();
303301
String file2 = params.getFile2();
304302
if ( name2 == null && file2 == null ){
@@ -449,9 +447,9 @@ private void runPairwise() throws ConfigurationException{
449447
}
450448
}
451449

452-
/** check if the result should be written to the local file system
450+
/**
451+
* check if the result should be written to the local file system
453452
*
454-
* @param params2
455453
* @param afpChain
456454
* @param ca1
457455
* @param ca2
@@ -525,21 +523,17 @@ private void checkWriteFile( AFPChain afpChain, Atom[] ca1, Atom[] ca2, boolean
525523
FileOutputStream out; // declare a file output object
526524
PrintStream p; // declare a print stream object
527525

528-
// Create a new file output stream
529-
out = new FileOutputStream(fileName);
530-
531-
// Connect print stream to the output stream
532-
p = new PrintStream( out );
533-
534-
p.println (output);
535-
536-
p.close();
526+
// Create a new file output stream
527+
out = new FileOutputStream(fileName);
537528

529+
// Connect print stream to the output stream
530+
p = new PrintStream( out );
538531

532+
p.println (output);
539533

534+
p.close();
540535
}
541536

542-
543537
private String getAutoFileName(AFPChain afpChain){
544538
String fileName =afpChain.getName1()+"_" + afpChain.getName2()+"_"+afpChain.getAlgorithmName();
545539

@@ -550,7 +544,6 @@ private String getAutoFileName(AFPChain afpChain){
550544
return fileName;
551545
}
552546

553-
554547
private Structure getStructure(AtomCache cache, String name1, String file)
555548
{
556549

@@ -654,18 +647,6 @@ public String printHelp() {
654647
buf.append(" -outFile (mandatory) a file that will contain the summary of all the pairwise alignments").append(newline);
655648
buf.append(newline);
656649

657-
buf.append("--- database searches ---").append(newline);
658-
buf.append(" -searchFile (mandatory) path to a PDB file that should be used in the search").append(newline);
659-
buf.append(" -outFile (mandatory) a directory that will contain the results of the DB search").append(newline);
660-
buf.append(" -nrCPU (optional) Number of CPUs to use for the database search. By default will use the all, but one CPU in the system.").append(newline);
661-
buf.append(" -pdbFilePath (mandatory) Path to the directory in your file system that contains the PDB files.").append(newline);
662-
buf.append(" -saveOutputDir (optional) a directory that will contain the detailed outputs of the alignments. By default will write XML files, if used together with -outputPDB, will write PDB files of the alignment.").append(newline);
663-
buf.append(newline);
664-
665-
buf.append(" Once DB seaches are complete it is possible to view the results with:").append(newline);
666-
buf.append(" -showDBresult (optional) path to a DB outFile to show. Also provide the -pdbFilePath parameter to enable visualisation of results.").append(newline);
667-
buf.append(newline);
668-
669650
ConfigStrucAligParams params = alg.getParameters();
670651
List<String> paramNames = params.getUserConfigParameters();
671652
List<String> paramHelp = params.getUserConfigHelp();

0 commit comments

Comments
 (0)