Skip to content

Commit

Permalink
Njoy little change (#192)
Browse files Browse the repository at this point in the history
Co-authored-by: Bengoechea Aitor <Aitor.Bengoechea@sckcen.be>
  • Loading branch information
AitorBengoechea and Bengoechea Aitor authored May 4, 2022
1 parent c55e4ee commit db8bdd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sandy/njoy.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@

import sandy
from sandy.settings import SandyError
from sandy.formats.endf6 import Endf6

__author__ = "Luca Fiorito"
__all__ = ["process", "process_proton", "get_njoy"]
Expand Down Expand Up @@ -1202,7 +1201,7 @@ def process(
outputs : `map`
map of {`tape` : `file`) for ouptut files
"""
tape = Endf6.from_file(endftape)
tape = sandy.Endf6.from_file(endftape)
mat = tape.mat[0]
info = tape.read_section(mat, 1, 451)
meta = info["LISO"]
Expand Down Expand Up @@ -1428,7 +1427,7 @@ def process_proton(
outputs : `map`
map of {`tape` : `file`) for ouptut files
"""
tape = Endf6.from_file(endftape)
tape = sandy.Endf6.from_file(endftape)
mat = tape.mat[0]
info = tape.read_section(mat, 1, 451)
meta = info["LISO"]
Expand Down

0 comments on commit db8bdd2

Please sign in to comment.