File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 5
5
- Added - GitHub Actions workflow to manually release docs
6
6
- Changed - Update ` datajoint/nginx ` to ` v0.2.6 `
7
7
- Changed - Migrate docs from ` https://docs.datajoint.org/python ` to ` https://datajoint.com/docs/core/datajoint-python `
8
+ - Fixed - ` Autopopulate.populate ` excludes ` reserved ` jobs in addition to ` ignore ` and ` error ` jobs
8
9
9
10
### 0.14.1 -- Jun 02, 2023
10
11
- Fixed - Fix altering a part table that uses the "master" keyword - PR [ #991 ] ( https://github.com/datajoint/datajoint-python/pull/991 )
Original file line number Diff line number Diff line change @@ -58,17 +58,19 @@ def test_populate_exclude_error_and_ignore_jobs(self):
58
58
assert_true (self .subject , "root tables are empty" )
59
59
assert_false (self .experiment , "table already filled?" )
60
60
61
- keys = self .experiment .key_source .fetch ("KEY" , limit = 2 )
61
+ keys = self .experiment .key_source .fetch ("KEY" , limit = 3 )
62
62
for idx , key in enumerate (keys ):
63
63
if idx == 0 :
64
64
schema .schema .jobs .ignore (self .experiment .table_name , key )
65
- else :
65
+ elif :
66
66
schema .schema .jobs .error (self .experiment .table_name , key , "" )
67
+ else :
68
+ schema .schema .jobs .reserve (self .experiment .table_name , key )
67
69
68
70
self .experiment .populate (reserve_jobs = True )
69
71
assert_equal (
70
72
len (self .experiment .key_source & self .experiment ),
71
- len (self .experiment .key_source ) - 2 ,
73
+ len (self .experiment .key_source ) - 3 ,
72
74
)
73
75
74
76
def test_allow_direct_insert (self ):
You can’t perform that action at this time.
0 commit comments