default directory is ./
This commit is contained in:
parent
e328e1250b
commit
ca12e6ab9c
2 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ def console_main():
|
|||
|
||||
parser.add_argument('-ps', '--power_spectrum', action='store_true', help='Plot power spectra.')
|
||||
parser.add_argument('-cc', '--cross_correlation', action='store_true', help='Plot cross correlations.')
|
||||
parser.add_argument('-d', '--directory', type=str, required=True, help='Directory containing the fields files.')
|
||||
parser.add_argument('-d', '--directory', type=str, default='./', help='Directory containing the fields files.')
|
||||
parser.add_argument('-ref', '--reference', type=str, default=None, help='Reference field file.')
|
||||
parser.add_argument('-f', '--filenames', type=str, nargs='+', required=True, help='Field files to be plotted.')
|
||||
parser.add_argument('-o', '--output', type=str, default=None, help='Output plot file name.')
|
||||
|
|
|
@ -154,7 +154,7 @@ def console_main():
|
|||
|
||||
parser.add_argument('-a','--axis', type=int, default=0, help='Axis along which the slices will be taken.')
|
||||
parser.add_argument('-i','--index', type=int, default=None, help='Index of the slice along the axis.')
|
||||
parser.add_argument('-d', '--directory', type=str, required=True, help='Directory containing the fields files.')
|
||||
parser.add_argument('-d', '--directory', type=str, default='./', help='Directory containing the fields files.')
|
||||
parser.add_argument('-ref', '--reference', type=str, default=None, help='Reference field file.')
|
||||
parser.add_argument('-f', '--filenames', type=str, nargs='+', required=True, help='Field files to be plotted.')
|
||||
parser.add_argument('-o', '--output', type=str, default=None, help='Output plot file name.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue