Skip to content

Commit bab02c0

Browse files
author
Kazuyoshi Furutaka (work)
committed
URLs updated from Google Code to GitHub.
Files modified include: common/ascii2gr.py, common/mixtures.py, mcnp/mctal2root.ctl, mcnp/mctal2root.py, mcnp/mctaltest.py, mcnp/roottest.py, mcnp/ssw2root.py, mcnp/ssw2txt.py, and phits/rotate3dshow.py. The link to rotate3dshow.gif in README.md is left unmodified because the present committer could not find the new location.
1 parent 6978243 commit bab02c0

9 files changed

+11
-11
lines changed

common/ascii2gr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def main():
212212
It is assumed that different graphs are separated by an empty line. In this case a sequental prefix is appended to the graph's names.
213213
"""
214214

215-
parser = argparse.ArgumentParser(description=main.__doc__, epilog='Homepage: http://code.google.com/p/mc-tools')
215+
parser = argparse.ArgumentParser(description=main.__doc__, epilog='Homepage: https://github.com/kbat/mc-tools')
216216
parser.add_argument('-x', dest='colx', type=int, help='x-column number (columns start from ONE)', required=True)
217217
parser.add_argument('-ex', dest='colex', type=int, help='ex-column number')
218218
parser.add_argument('-y', dest='coly', type=int, help='y-column number', required=True)

common/mixtures.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /usr/bin/python -W all
22
# Some examples of calculation of atomic fractions for given volume fractions
3-
# http://mc-tools.googlecode.com
3+
# https://github.com/kbat/mc-tools
44

55
from mctools import Isotope, Material, Compound
66

mcnp/mctal2root.ctl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Source: mctal2root
44
Section: misc
55
Priority: optional
6-
Homepage: http://code.google.com/p/mc-tools
6+
Homepage: https://github.com/kbat/mc-tools
77
Standards-Version: 3.9.2
88

99
Package: mctal2root

mcnp/mctal2root.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
sys.path.insert(1, '@pythondir@')
1010

1111
parser = argparse.ArgumentParser(description="A mctal to ROOT conversion script.",
12-
epilog="Homepage: http://code.google.com/p/mc-tools")
12+
epilog="Homepage: https://github.com/kbat/mc-tools")
1313
parser.add_argument('mctal_file', type=str, help='the name of the mctal file to be converted')
1414
parser.add_argument('root_file', type=str, nargs='?', help='the name of the output ROOT file', default="")
1515
parser.add_argument('-v', '--verbose', action='store_true', default=False, dest='verbose', help='explain what is being done')

mcnp/mctaltest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def main():
88
A script to test how we are able to read and reproduce the mctal file structure. It reads the original mctal file into a binary object, generates another mctal file based on this object and then compares both files using GNU diffutils.
99
Exit status is 0 if both files are the same, 1 if different.
1010
"""
11-
parser = argparse.ArgumentParser(description=main.__doc__, epilog="Homepage: http://code.google.com/p/mc-tools")
11+
parser = argparse.ArgumentParser(description=main.__doc__, epilog="Homepage: https://github.com/kbat/mc-tools")
1212
parser.add_argument('-v', '--verbose', action='store_true', default=False, dest='verbosity', help='explain what is being done')
1313
parser.add_argument('mctal', type=str, help='mctal file to use for test')
1414

mcnp/roottest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def main():
99
Exit status is 0 if both files are the same, 1 if different.
1010
"""
1111

12-
parser = argparse.ArgumentParser(description=main.__doc__, epilog="Homepage: http://code.google.com/p/mc-tools")
12+
parser = argparse.ArgumentParser(description=main.__doc__, epilog="Homepage: https://github.com/kbat/mc-tools")
1313
parser.add_argument('mctal_file', type=str, help='The name (and path) to the mctal file to be converted')
1414
parser.add_argument('root_file', type=str, nargs='?', help='The name of the converted ROOT file', default="")
1515
parser.add_argument('-v', '--verbose', action='store_true', default=False, dest='verbose', help='Explain what is being done')

mcnp/ssw2root.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /usr/bin/python
22
# $Id: ssw2root.py 250 2015-05-04 09:35:55Z batkov $
3-
# $URL: https://mc-tools.googlecode.com/svn/trunk/mcnp/ssw2root.py $
3+
# $URL: https://github.com/kbat/mc-tools/blob/master/mcnp/ssw2root.py $
44

55
import sys, argparse
66
from ssw import SSW
@@ -30,7 +30,7 @@ def main():
3030
"""
3131

3232
allowed_splitlevels = (1, 99)
33-
parser = argparse.ArgumentParser(description=main.__doc__, epilog='Homepage: http://code.google.com/p/mc-tools')
33+
parser = argparse.ArgumentParser(description=main.__doc__, epilog='Homepage: https://github.com/kbat/mc-tools')
3434
parser.add_argument('-splitlevel', dest='splitlevel', type=int, help='split level (see TTree::Branch documentation)', required=False, default=1, choices=allowed_splitlevels)
3535
parser.add_argument('wssa', type=str, help='ssw output file name')
3636
arguments = parser.parse_args()

mcnp/ssw2txt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def main():
1919
"""
2020

2121
allowed_splitlevels = (1, 99)
22-
parser = argparse.ArgumentParser(description=main.__doc__, epilog='Homepage: http://code.google.com/p/mc-tools', formatter_class=argparse.RawDescriptionHelpFormatter)
22+
parser = argparse.ArgumentParser(description=main.__doc__, epilog='Homepage: https://github.com/kbat/mc-tools', formatter_class=argparse.RawDescriptionHelpFormatter)
2323
parser.add_argument('wssa', type=str, help='ssw output file name')
2424
arguments = parser.parse_args()
2525

phits/rotate3dshow.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# for creating an animation of e-phi rotation with 10 frames based on
1818
# the PHITS input file 'phits.in' and save it in a GIF file '3dshow.gif'
1919
#
20-
# http://code.google.com/p/mc-tools
20+
# https://github.com/kbat/mc-tools
2121

2222

2323
import re, sys, string, argparse, os
@@ -39,7 +39,7 @@ def main():
3939
phits_default = 'c:/phits/bin/phits_c.exe' # !!! should use just phits.exe here and set correct PATH
4040
convert_default = 'convert.exe'
4141

42-
parser = argparse.ArgumentParser(description=main.__doc__, epilog="Homepage: http://code.google.com/p/mc-tools", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
42+
parser = argparse.ArgumentParser(description=main.__doc__, epilog="Homepage: https://github.com/kbat/mc-tools", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
4343
parser.add_argument('parameter', type=str, help='Parameter to rotate', choices=allowed_parameters) #, metavar='(e-the|e-phi)')
4444
parser.add_argument('nimages', type=int, default='10', help='Number of images per full revolution (360 deg) of selected parameter')
4545
parser.add_argument('input_file', type=argparse.FileType('rt'), help='PHITS input file')

0 commit comments

Comments
 (0)