Skip to content

Commit 94230a6

Browse files
committed
maint: isort - sort Python program definitions.
1 parent ce98b2f commit 94230a6

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

microscope/cameras/picam.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,25 @@
1919
## You should have received a copy of the GNU General Public License
2020
## along with Microscope. If not, see <http://www.gnu.org/licenses/>.
2121

22+
import enum
23+
import logging
24+
import queue
2225
import time
26+
from io import BytesIO
2327

24-
import Pyro4
2528
import numpy as np
26-
import logging
27-
import enum
28-
import microscope
29-
import queue
30-
from microscope import devices
31-
from microscope.devices import keep_acquiring, Binning, ROI
29+
import Pyro4
3230

31+
import microscope
3332
#import raspberry pi specific modules
3433
import picamera
3534
import picamera.array
36-
from io import BytesIO
3735
#to allow hardware trigger.
3836
import RPi.GPIO as GPIO
37+
from microscope import devices
38+
from microscope.devices import ROI, Binning, keep_acquiring
39+
40+
3941
GPIO_Trigger=21
4042
GPIO_CAMLED=5
4143

@@ -284,5 +286,3 @@ def soft_trigger(self):
284286

285287
#Need to setup a buffer for harware triggered data aquisition so we can
286288
#call the acquisition and then download the data at our leasure
287-
288-

microscope/testsuite/devices.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from enum import IntEnum
2424

2525
import microscope.abc
26-
2726
# These classes were originally in testsuite but have been moved to
2827
# their own subpackage, these imports are for backwards compatibility.
2928
from microscope.simulators import (

0 commit comments

Comments
 (0)