Skip to content

Commit 309f314

Browse files
committed
Formatting and removing extraneous imports
1 parent 8ce454a commit 309f314

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

astroquery/heasarc/core.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
import tarfile
77
import warnings
88
import numpy as np
9-
from astropy.table import Table, Row, vstack
9+
from astropy.table import Table, Row
1010
from astropy import coordinates
1111
from astropy import units as u
1212
from astropy.utils.decorators import deprecated, deprecated_renamed_argument
13-
from pathlib import Path
1413

1514
import pyvo
1615

@@ -522,13 +521,13 @@ def locate_data(self, query_result=None, catalog_name=None):
522521
baseurl=dlink_url,
523522
id=query_result['__row'],
524523
session=self._session
525-
)
524+
)
526525

527526
dl_result = pyvo.dal.DALResults(
528527
query.execute_votable(post=True),
529528
url=query.queryurl,
530529
session=query._session
531-
).to_table()
530+
).to_table()
532531

533532
# include rows that have directory links (i.e. data) and those
534533
# that report errors (usually means there are no data products)

0 commit comments

Comments
 (0)