Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python
- Python 2.7.10 (default, Oct 1 2015, 12:52:17)
- [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import yt
- >>> ds = yt.load('~/src/SimulationIO/example.h5')
- yt : [INFO ] 2015-11-01 10:10:35,975 Parameters: current_time = 0.0
- yt : [INFO ] 2015-11-01 10:10:35,975 Parameters: domain_dimensions = 3
- yt : [INFO ] 2015-11-01 10:10:35,975 Parameters: domain_left_edge = [ 0. 0. 0.]
- yt : [INFO ] 2015-11-01 10:10:35,976 Parameters: domain_right_edge = [ 1. 1. 1.]
- yt : [INFO ] 2015-11-01 10:10:35,976 Parameters: cosmological_simulation = 0
- >>> ds.print_stats()
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/Users/eschnett/src/yt/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 319, in root_only
- return func(*args, **kwargs)
- File "/Users/eschnett/src/yt/yt/data_objects/static_output.py", line 361, in print_stats
- self.index.print_stats()
- File "/Users/eschnett/src/yt/yt/data_objects/static_output.py", line 328, in index
- self.create_field_info()
- File "/Users/eschnett/src/yt/yt/data_objects/static_output.py", line 371, in create_field_info
- self.field_info = self._field_info_class(self, self.field_list)
- TypeError: __init__() takes exactly 2 arguments (3 given)
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement