Skip to content

Commit 944b04c

Browse files
committed
Add version number (0.1.0)
1 parent 6be0b79 commit 944b04c

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

ConstrainedMultiSample.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# © Copyright 2013 Massachusetts Institute of Technology
1+
# Copyright 2013 Massachusetts Institute of Technology
22
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE
33

44
from optparse import OptionParser
@@ -11,8 +11,8 @@
1111
import random
1212
import NetworkUtil
1313

14-
__author__ = 'Anthony Gitter'
15-
14+
__author__ = "Anthony Gitter"
15+
__version__ = "0.1.0"
1616

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

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

2930

@@ -602,7 +603,7 @@ def CreateParser():
602603
# Beta (only allowed to be set once initially, range of Beta is not supported)
603604
# Species
604605
# W cannot be given as a range of values
605-
parser = OptionParser()
606+
parser = OptionParser(version="Multi-PCSF version %s" % __version__)
606607
parser.add_option("--interactomepath", type="string", dest="interactomePath", help="This path points to the directory that contains the interaction network files",default='None')
607608
parser.add_option("--terminalpath",type="string",dest="terminalPath",help="This path points to the directory that contains the terminal (node prize) files",default='None')
608609
parser.add_option("--resultpath",type="string",dest="resultPath",help="This path points to the directory where the output files will be written.",default='None')

MessagePassingInput.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# © Copyright 2013 Massachusetts Institute of Technology
1+
# Copyright 2013 Massachusetts Institute of Technology
22
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE
33

44
__author__ = 'Nurcan Tuncbag' # Modified by Anthony Gitter

NetworkUtil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# © Copyright 2013 Massachusetts Institute of Technology
1+
# Copyright 2013 Massachusetts Institute of Technology
22
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE
33

44
import networkx

PCSF.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# © Copyright 2013 Massachusetts Institute of Technology
1+
# Copyright 2013 Massachusetts Institute of Technology
22
# BSD-2-Clause license https://github.com/agitter/MultiPCSF/blob/master/LICENSE
33

44
__author__ = 'Nurcan Tuncbag' # Modified by Anthony Gitter

0 commit comments

Comments
 (0)