Skip to content

Commit dde3a49

Browse files
author
Daniel Buscombe
committed
Mon Feb 23 21:46:00 MST 2015
1 parent da836f5 commit dde3a49

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

DGS/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
United States Geological Survey
1616
Flagstaff, AZ 86001
1717
dbuscombe@usgs.gov
18+
Revision Feb 23, 2015
1819
First Revision January 18 2013
1920
2021
For more information visit https://github.com/dbuscombe-usgs/pyDGS
@@ -63,7 +64,7 @@
6364
6465
"""
6566

66-
__version__ = '2.5.6'
67+
__version__ = '2.7.0'
6768

6869
#-----------------------------------------------------------------------------
6970
# Imports

DGS/__init__.pyc

145 Bytes
Binary file not shown.

DGS/_dgs_class.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
United States Geological Survey
1616
Flagstaff, AZ 86001
1717
dbuscombe@usgs.gov
18+
Revision Feb 23, 2015
1819
First Revision January 18 2013
1920
2021
For more information visit https://github.com/dbuscombe-usgs/pyDGS
@@ -63,7 +64,7 @@
6364
6465
"""
6566

66-
from __future__ import division
67+
#from __future__ import division
6768
import numpy as np
6869
import matplotlib.pyplot as mpl
6970
import sys, getopt, os, glob
@@ -327,9 +328,9 @@ def dgs(folder, density, doplot, resolution):
327328
mn = min(nx,ny)
328329

329330
if isodd(mn/4):
330-
window_size = (mn/4)
331+
window_size = (int(mn/4))
331332
else:
332-
window_size = (mn/4)-1
333+
window_size = (int(mn/4))-1
333334

334335
if iseven(window_size):
335336
window_size = window_size+1

DGS/_dgs_class.pyc

3.82 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Buscombe, D. (2013) Transferable Wavelet Method for Grain-Size Distribution from
7474
United States Geological Survey
7575
Flagstaff, AZ 86001
7676
dbuscombe@usgs.gov
77+
Revision Feb 23, 2015
7778
First Revision January 18 2013
7879

7980
For more information visit https://github.com/dbuscombe-usgs/pyDGS

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
United States Geological Survey
1717
Flagstaff, AZ 86001
1818
dbuscombe@usgs.gov
19+
Revision Feb 23, 2015
1920
First Revision January 18 2013
2021
2122
For more information visit https://github.com/dbuscombe-usgs/pyDGS
@@ -147,7 +148,7 @@ def setupPackage():
147148
ext_modules=ext_modules,
148149
platforms='OS Independent',
149150
include_dirs = [np.get_include()],
150-
package_data={'DGS': ['*.JPG',]}
151+
package_data={'DGS': ['*.JPG','*.jpg',]}
151152
)
152153

153154
if __name__ == '__main__':

0 commit comments

Comments
 (0)