Commit 3b8c6b89 authored by Qusai Al Shidi's avatar Qusai Al Shidi 💬
Browse files

Merge branch 'ci' into 'master'


See merge request !8
parents 034e4e17 37d2dcbc
Pipeline #24238 passed with stage
in 54 seconds
- apt-get update -qy
- apt-get install -y python3 python3-numpy python3-pip
- python3 -m pip install pytest
- python3 -m pip install -r requirements.txt
- python3 -m pip install drms
- python3 -m pytest
......@@ -95,7 +95,7 @@ You can cite this software on LaTeX like this:
author = {{Qusai Al Shidi}},
author = {{Al Shidi, Qusai}},
title = {swmfpy},
url = {},
version = {2020.5},
......@@ -15,6 +15,7 @@ import gzip
from operator import itemgetter
import shutil
import urllib
import urllib.request
from dateutil import rrule
import numpy as np
from .tools import _nearest, carrington_rotation_number
#!/usr/bin/env python
"""Tests for
import datetime as dt
from os.path import isfile
from swmfpy import *
TIMES = (dt.datetime(2012, 12, 1), dt.datetime(2013, 1, 1))
def test_write_imf_from_omni():
assert isfile('IMF.dat')
#!/usr/bin/env python
"""Test for
from os.path import isfile
import datetime as dt
from swmfpy.web import *
TIME = dt.datetime(2016, 2, 3, 2, 1, 1)
def test_download_magnetogram_adapt():
assert isfile('adapt40311_03k012_201602030200_i00015600n1.fts')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment