Skip to content

Commit

Permalink
Add version number (0.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
agitter committed Mar 24, 2017
1 parent 6be0b79 commit 944b04c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions ConstrainedMultiSample.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © Copyright 2013 Massachusetts Institute of Technology
# Copyright 2013 Massachusetts Institute of Technology
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE

from optparse import OptionParser
Expand All @@ -11,8 +11,8 @@
import random
import NetworkUtil

__author__ = 'Anthony Gitter'

__author__ = "Anthony Gitter"
__version__ = "0.1.0"

# Iterate between finding a common set of nodes among the samples
# and learning Steiner forests constrained to use those
Expand All @@ -24,6 +24,7 @@ def main(argList):
(opts, args) = parser.parse_args(argList)

print "Starting constrained multi-sample Steiner forest %s" % time.strftime("%a, %d %b %Y %H:%M:%S", time.localtime())
print "Multi-PCSF version %s" % __version__
print "Parameters: %s" % opts


Expand Down Expand Up @@ -602,7 +603,7 @@ def CreateParser():
# Beta (only allowed to be set once initially, range of Beta is not supported)
# Species
# W cannot be given as a range of values
parser = OptionParser()
parser = OptionParser(version="Multi-PCSF version %s" % __version__)
parser.add_option("--interactomepath", type="string", dest="interactomePath", help="This path points to the directory that contains the interaction network files",default='None')
parser.add_option("--terminalpath",type="string",dest="terminalPath",help="This path points to the directory that contains the terminal (node prize) files",default='None')
parser.add_option("--resultpath",type="string",dest="resultPath",help="This path points to the directory where the output files will be written.",default='None')
Expand Down
2 changes: 1 addition & 1 deletion MessagePassingInput.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © Copyright 2013 Massachusetts Institute of Technology
# Copyright 2013 Massachusetts Institute of Technology
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE

__author__ = 'Nurcan Tuncbag' # Modified by Anthony Gitter
Expand Down
2 changes: 1 addition & 1 deletion NetworkUtil.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © Copyright 2013 Massachusetts Institute of Technology
# Copyright 2013 Massachusetts Institute of Technology
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE

import networkx
Expand Down
2 changes: 1 addition & 1 deletion PCSF.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © Copyright 2013 Massachusetts Institute of Technology
# Copyright 2013 Massachusetts Institute of Technology
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE

__author__ = 'Nurcan Tuncbag' # Modified by Anthony Gitter
Expand Down

0 comments on commit 944b04c

Please sign in to comment.