Skip to content

Commit 17f5fe4

Browse files
committed
Styling corrections
1 parent bc2f832 commit 17f5fe4

15 files changed

+15
-15
lines changed

datajoint/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def kill(restriction=None, connection=None, order_by=None): # pragma: no cover
8787
def kill_quick(restriction=None, connection=None):
8888
"""
8989
Kill database connections without prompting. Returns number of terminated connections.
90-
90+
9191
:param restriction: restriction to be applied to processlist
9292
:param connection: a datajoint.Connection object. Default calls datajoint.conn()
9393

datajoint/attribute_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get(self, value):
2020
convert value retrieved from the the attribute in a table into the adapted type
2121
2222
:param value: value from the database
23-
23+
2424
:return: object of the adapted type
2525
"""
2626
raise NotImplementedError("Undefined attribute adapter")

datajoint/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def set_query_cache(self, query_cache=None):
248248
1. Only SELECT queries are allowed.
249249
2. The results of queries are cached under the path indicated by dj.config['query_cache']
250250
3. query_cache is a string that differentiates different cache states.
251-
251+
252252
:param query_cache: a string to initialize the hash for query results
253253
"""
254254
self._query_cache = query_cache

datajoint/declare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def substitute_special_type(match, category, foreign_key_sql, context):
568568
def compile_attribute(line, in_key, foreign_key_sql, context):
569569
"""
570570
Convert attribute definition from DataJoint format to SQL
571-
571+
572572
:param line: attribution line
573573
:param in_key: set to True if attribute is in primary key set
574574
:param foreign_key_sql: the list of foreign key declarations to add to

datajoint/diagram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def __init__(self, source, context=None):
146146
def from_sequence(cls, sequence):
147147
"""
148148
The join Diagram for all objects in sequence
149-
149+
150150
:param sequence: a sequence (e.g. list, tuple)
151151
:return: Diagram(arg1) + ... + Diagram(argn)
152152
"""

datajoint/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, *args):
3434
def suggest(self, *args):
3535
"""
3636
regenerate the exception with additional arguments
37-
37+
3838
:param args: addition arguments
3939
:return: a new exception of the same type with the additional arguments
4040
"""

datajoint/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ def aggr(self, group, **named_attributes):
913913
"""
914914
Aggregation of the type U('attr1','attr2').aggr(group, computation="QueryExpression")
915915
has the primary key ('attr1','attr2') and performs aggregation computations for all matching elements of `group`.
916-
916+
917917
:param group: The query expression to be aggregated.
918918
:param named_attributes: computations of the form new_attribute="sql expression on attributes of group"
919919
:return: The derived query expression

datajoint/external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def delete(
406406
):
407407
"""
408408
409-
:param delete_external_files: True or False. If False, only the tracking info is removed from the external
409+
:param delete_external_files: True or False. If False, only the tracking info is removed from the external
410410
store table but the external files remain intact. If True, then the external files themselves are deleted too.
411411
:param errors_as_string: If True any errors returned when deleting from external files will be strings
412412
:param limit: (integer) limit the number of items to delete

datajoint/fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def __call__(
164164
"frequency") To order by primary key, use "KEY" or "KEY DESC"
165165
:param format: Effective when as_dict=None and when attrs is empty None: default from config['fetch_format'] or
166166
'array' if not configured "array": use numpy.key_array "frame": output pandas.DataFrame. .
167-
:param as_dict: returns a list of dictionaries instead of a record array. Defaults to False for .fetch() and to
167+
:param as_dict: returns a list of dictionaries instead of a record array. Defaults to False for .fetch() and to
168168
True for .fetch('KEY')
169169
:param squeeze: if True, remove extra dimensions from arrays
170170
:param download_path: for fetches that download data, e.g. attachments

datajoint/heading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def select(self, select_list, rename_map=None, compute_map=None):
436436
"""
437437
derive a new heading by selecting, renaming, or computing attributes.
438438
In relational algebra these operators are known as project, rename, and extend.
439-
439+
440440
:param select_list: the full list of existing attributes to include
441441
:param rename_map: dictionary of renamed attributes: keys=new names, values=old names
442442
:param compute_map: a direction of computed attributes

0 commit comments

Comments
 (0)