-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work to refactor amuse.rfi #1078
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # src/amuse/rfi/async_request.py # src/amuse/rfi/channel.py # src/amuse/rfi/gencode.py # src/amuse/rfi/python_code.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall but I've left some questions and a proposal for one more fix.
@@ -503,9 +503,9 @@ def read_fortran_block_float_vectors(self, file, size=3): | |||
result = self.read_fortran_block_floats(file) | |||
return result.reshape(len(result) // size, size) | |||
|
|||
def write_fortran_block(self, file, input): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this code do? Is there anything affected by this?
@@ -1,236 +1,297 @@ | |||
import numpy | |||
import os.path | |||
from amuse.community import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a syntax update to amuse.rfi. Was that intended?
@@ -44,9 +44,11 @@ | |||
from . import async_request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is such a disaster. But at least it's now a nicely formatted disaster. Great!
def cleanup_module(mod): | ||
#print "CLEANUP!!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this Python 2 comment could just go?
No description provided.