Skip to content

Commit

Permalink
remove random (microsoft#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsleh authored Mar 31, 2022
1 parent 2564a20 commit 1b79de8
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions tests/data/agb_live_woody_density/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@

import json
import os
import random

import numpy as np
import rasterio

SIZE = 32

np.random.seed(0)
random.seed(0)


base_file = {
Expand Down
2 changes: 0 additions & 2 deletions tests/data/astergdem/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

import hashlib
import os
import random
import zipfile

import numpy as np
import rasterio

np.random.seed(0)
random.seed(0)

SIZE = 64

Expand Down
2 changes: 0 additions & 2 deletions tests/data/dfc2022/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import hashlib
import os
import random
import shutil

import numpy as np
Expand All @@ -16,7 +15,6 @@
SIZE = 32

np.random.seed(0)
random.seed(0)


train_set = [
Expand Down
2 changes: 0 additions & 2 deletions tests/data/esri2020/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@

import hashlib
import os
import random
import shutil

import numpy as np
import rasterio

np.random.seed(0)
random.seed(0)

SIZE = 64

Expand Down
2 changes: 0 additions & 2 deletions tests/data/eudem/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

import hashlib
import os
import random
import zipfile

import numpy as np
import rasterio

np.random.seed(0)
random.seed(0)

SIZE = 64

Expand Down
2 changes: 0 additions & 2 deletions tests/data/globbiomass/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@

import hashlib
import os
import random
import zipfile

import numpy as np
import rasterio

np.random.seed(0)
random.seed(0)

SIZE = 64

Expand Down
5 changes: 0 additions & 5 deletions tests/data/openbuildings/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@
import hashlib
import json
import os
import random
import shutil

import numpy as np
from shapely.geometry import Polygon

SIZE = 0.05

np.random.seed(0)
random.seed(0)


def create_meta_data_file(zipfilename):
meta_data = {
Expand Down
2 changes: 0 additions & 2 deletions tests/data/sentinel2/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
# Licensed under the MIT License.

import os
import random

import numpy as np
import rasterio

SIZE = 32

np.random.seed(0)
random.seed(0)

filenames = [
"T41XNE_20200829T083611_B01_60m.tif",
Expand Down

0 comments on commit 1b79de8

Please sign in to comment.