Commit 882f815a authored by Wei Shoulin's avatar Wei Shoulin
Browse files

C9

parent d6139d80
Pipeline #4169 passed with stage
......@@ -23,20 +23,15 @@ class CommonCatalogTestCase(unittest.TestCase):
limit = 10
)
print(result)
if result.success:
dt = self.api.to_table(result)
dt.pprint()
# df = dt.to_pandas()
# print(df.head())
print('used:', time.time()-t)
print('return:', len(result.data))
def test_sim_query(self):
t= time.time()
result = self.api.catalog_query(
ra=90,
dec=24.5,
radius=0.21,
ra=243,
dec=40,
radius=1,
columns = ('id','ra','dec','av','pmdec','phot_g_mean_mag'),
catalog_name='sim',
min_mag=-1,
......
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