Comments (2)
$ 2to3-2.7 assist2aspect.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored assist2aspect.py
--- assist2aspect.py (original)
+++ assist2aspect.py (refactored)
@@ -1,7 +1,7 @@
from pandas import read_csv
import numpy as np
-import StringIO
+import io
def format_topo_data ( topo ):
@@ -263,7 +263,7 @@
def str2str (assist_string):
#~ return str(type(assist_string))
- assist_io = StringIO.StringIO(assist_string)
+ assist_io = io.StringIO(assist_string)
assist = read_csv(assist_io, dtype=str)
aspect = assist2aspect( assist )
@@ -280,7 +280,7 @@
]
#convert to csv string and return
- aspect_io = StringIO.StringIO()
+ aspect_io = io.StringIO()
aspect.to_csv(aspect_io, index = False)
aspect = aspect_io.getvalue()
aspect_io.close()
RefactoringTool: Files that need to be modified:
RefactoringTool: assist2aspect.py
from icewatch.
$ 2to3-2.7 __init__.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored __init__.py
--- __init__.py (original)
+++ __init__.py (refactored)
@@ -1 +1 @@
-import assist2aspect
+from . import assist2aspect
RefactoringTool: Files that need to be modified:
RefactoringTool: __init__.py
from icewatch.
Related Issues (15)
- Upgrade various packages HOT 2
- ASSIST doesn't work with jdk-12.0.2
- Maps not working HOT 2
- Open pop-up when clicking points on map
- Photo upload not working
- Decimal handling in lat/lon entry in ASSIST
- Handling blank observations in ASSIST
- "View cruise as..." exporting
- Ice algae recording in ASSIST
- Error when setting date/time for new cruise.
- Authentication needs to be transferred from GINA HOT 2
- Temperatures as integers or floats?
- 'Members' can't view unapproved observations
- Redirect when editing observations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icewatch.