Skip to content

Commit

Permalink
Sort import modules for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Oct 18, 2024
1 parent 5f68dcf commit f354849
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
1 change: 0 additions & 1 deletion pineappl_py/tests/test_bin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import numpy as np
import pytest

from pineappl.bin import BinRemapper


Expand Down
8 changes: 4 additions & 4 deletions pineappl_py/tests/test_evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"""

import itertools
import numpy as np

from pineappl.pids import PidBasis
import numpy as np
from pineappl.boc import Channel, Kinematics
from pineappl.grid import Order, Grid
from pineappl.convolutions import Conv, ConvType
from pineappl.interpolation import Interp
from pineappl.evolution import OperatorSliceInfo
from pineappl.grid import Grid, Order
from pineappl.interpolation import Interp
from pineappl.pids import PidBasis


class TestFkTable:
Expand Down
7 changes: 3 additions & 4 deletions pineappl_py/tests/test_fk_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
"""

import numpy as np

from pineappl.pids import PidBasis
from pineappl.boc import Channel, Kinematics
from pineappl.grid import Order, Grid
from pineappl.convolutions import Conv, ConvType
from pineappl.interpolation import Interp
from pineappl.fk_table import FkTable
from pineappl.grid import Grid, Order
from pineappl.import_subgrid import ImportSubgridV1
from pineappl.interpolation import Interp
from pineappl.pids import PidBasis


class TestFkTable:
Expand Down
10 changes: 4 additions & 6 deletions pineappl_py/tests/test_grid.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import numpy as np
import pytest

from pineappl.pids import PidBasis
from pineappl.boc import Channel, Kinematics
from pineappl.bin import BinRemapper
from pineappl.grid import Order, Grid
from pineappl.boc import Channel, Kinematics
from pineappl.convolutions import Conv, ConvType
from pineappl.interpolation import Interp
from pineappl.grid import Grid, Order
from pineappl.import_subgrid import ImportSubgridV1

from pineappl.interpolation import Interp
from pineappl.pids import PidBasis

# Construct the type of convolutions and the convolution object
# We assume unpolarized proton PDF
Expand Down
10 changes: 4 additions & 6 deletions pineappl_py/tests/test_subgrid.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import pytest
import numpy as np

from pineappl.pids import PidBasis
from pineappl.boc import Channel, Order, Kinematics
import pytest
from pineappl.boc import Channel, Kinematics, Order
from pineappl.convolutions import Conv, ConvType
from pineappl.grid import Grid
from pineappl.import_subgrid import ImportSubgridV1
from pineappl.interpolation import Interp
from pineappl.pids import PidBasis
from pineappl.subgrid import SubgridEnum
from pineappl.import_subgrid import ImportSubgridV1


# Define some default for the minimum value of `Q2`
Q2_MIN = 1e2
Expand Down

0 comments on commit f354849

Please sign in to comment.